<?php
if (!defined("_INDEX")) { header("Location: /"); die; }

switch($route->getAdminAction())
{
	case "view": require_once ADMIN.DS."_candidates".DS."view.php"; break;
	case "edit": require_once ADMIN.DS."_candidates".DS."edit.php"; break;
	
	default: goToPage("/admin/candidates/view");
}

?>